ABS
[Function] - returns the ABSolute value (no sign) of the given float value
Syntax:
ABS(Value)
Parameters:
Value: Any numeric value or expression
Description:
Returns the absolute value of the given argument. Argument must be a numeric expression. Returned value has the same type as the input argument.
Examples:
REM 'Absolute value LET a = -1 PRINT "Absolute value of a is "; ABS(a) REM 'Will print 1
Notes:
See also:
Supported Plattforms:
ZX Spectrum